package com.itheima.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author liuqiang
 * @Date 2024/3/18
 * @Description nocas自动刷新，适合大量配置
 */
@Component
@Data
@ConfigurationProperties(prefix = "person")
public class UserProperties {
	private String name;
	private int age;
}
